#!/usr/bin/env python
# encoding=utf-8

import sys

from flask.ext.wtf import Form
from wtforms import SubmitField, FileField
from wtforms.validators import DataRequired

reload(sys)
sys.setdefaultencoding('utf-8')


class TransForm(Form):
    pdf = FileField(u'上传PDF', validators=[DataRequired()])
    submit = SubmitField(u'上传')
